<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php if (is_home()): ?>
<title><?php cmsinfo('title');?></title>
<meta name="keywords"    content="<?php cmsinfo('keywords') ?>" />
<meta name="description" content="<?php cmsinfo('description') ?>" />	
<?php elseif(is_category()): ?>
<title>{$category.name}</title>
<meta name="keywords"    content="{$category.keywords}" />
<meta name="description" content="{$category.description}" />		
<?php elseif(is_single()): ?>
<foreach name="single" item="v">
<title>{$v.title}</title>
<meta name="keywords"    content="{$v.tags}" />
</foreach>	
<?php elseif(is_page()): ?>
<?php endif ;?>   

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?php cmsinfo("THEME_PATH"); ?>static/css/style.css"/>
<link rel="stylesheet" type="text/css" href="<?php cmsinfo("THEME_PATH"); ?>static/css/shCoreDefault.css"/>
<link rel="stylesheet" type="text/css" href="<?php cmsinfo("THEME_PATH"); ?>static/css/scheme.css"/>
<script type="text/javascript" src="<?php cmsinfo("THEME_PATH"); ?>static/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<?php cmsinfo("THEME_PATH"); ?>static/js/ie6-png.js"></script>
<script type="text/javascript" src="<?php cmsinfo("THEME_PATH"); ?>static/js/png.js"></script>
<script type="text/javascript" src="<?php cmsinfo("THEME_PATH"); ?>static/js/init.js"></script>
<script type="text/javascript" src="<?php cmsinfo("THEME_PATH"); ?>static/js/shCore.js"></script>
<script type="text/javascript">  
jQuery.noConflict();  
jQuery(function($){
	$('.jfade_image').jfade();
}); 
SyntaxHighlighter.all();   
</script> 
</head>

<body>
<div id="head">
	<div class="head_main">
		<div class="head_main_up">
			<div class="head_logo"><img src="<?php cmsinfo("THEME_PATH"); ?>static/images/logo.jpg" /></div>
            <div class="head_login">
            	<?php $uname = session('uname'); ?>  
            	<?php if (empty($uname)): ?>     
	                <div class="logo_L"><span class="a_log"></span><a href="__APP__/Member/login" class="a_bor">登录</a></div>
					<div class="logo_R"><span class="a_reg"></span><a href="__APP__/Member/register">注册</a></div>            
				<?php else: ?>
 					<div class="logo_L"><span class="a_log"></span><a href="#" class="a_bor">{:session('uname')}</a></div>
					<div class="logo_R"><span class="a_reg"></span><a href="__APP__/Member/logout">退出</a></div>            					
				<?php endif; ?> 	
				
			</div>
			<div class="clr"></div>
            		</div>
		<div class="head_main_down">
			<ul class="nav" id="menu">
				<li class="current_active"><a href="__APP__">首页</a></li>
				<li class="mainlevel "><a href="__APP__/scheme">解决方案</a></li>
				<li class=""><a href="__APP__/partners">合作伙伴</a></li>
				<li class=""><a href="__APP__/Category">新闻中心</a></li>
				<li class=" "><a href="__APP__/about">了解我们</a></li>
				<li class=""><a href="__APP__/contact">联系我们</a></li>
				<li class=" "><a href="__APP__/hr">人才招聘</a></li>
			</ul>
			<div class="nav_tec"><a href="__APP__/tech">技术支持</a></div>
			<div class="clr"></div>
		</div>
	</div>
</div>